package cn.db101.fairy.service

import cn.db101.fairy.entity.FairyCarousel
import com.mybatisflex.kotlin.extensions.db.query
import org.springframework.stereotype.Service

/**
 * @author zooy
 * @since 2025/3/17-17:53
 */
@Service
class FairyCarouselService {

    fun carouselList(): List<FairyCarousel> {
        return query<FairyCarousel> {
            orderBy(FairyCarousel::sort, true)
        }
    }
}
